<?

	if (postdata('submit_type'))
		return '/process'; 

	if (gccHuuid(param('edit')))
		return '/edit';

	if (gccHuuid(param('send')))
		return '/process';

	if (gccHuuid(param('delete')))
		return '/delete';

	if (param('file'))
		return '/get_file';

	if (param('templates'))
		return '/get_templates';

	switch (param('show')) {
		case 'draft':
			return '/show-draft';

		case 'sent':
			return '/show-sent';
	}

	return '';
